package com.dys.vo;

import java.util.Date;

/**
 * @Author: 疾风
 * @ClassName: AccountVO
 * @Description: 账号VO类
 * @CreateDate: 2025/01/15
 * @Version: v1.0.0
 */
public class AccountVO {
    private Long id;
    private String username;
    private Integer age;
    private Integer gender;
    private Date birthday;
    private Boolean isAdult;

    public AccountVO() {
    }

    public AccountVO(Long id, String username, Integer age, Integer gender, Date birthday, Boolean isAdult) {
        this.id = id;
        this.username = username;
        this.age = age;
        this.gender = gender;
        this.birthday = birthday;
        this.isAdult = isAdult;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Boolean getAdult() {
        return isAdult;
    }

    public void setAdult(Boolean adult) {
        isAdult = adult;
    }

    @Override
    public String toString() {
        return "AccountVO{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", age=" + age +
                ", gender=" + gender +
                ", birthday=" + birthday +
                ", isAdult=" + isAdult +
                '}';
    }
}
